
<?php use_javascript('data/helper.js') ?>
<?php use_javascript('approval/requestform.js') ?>
<?php use_stylesheet('approval/main.css') ?>

<script type="text/javascript">
    $(document).ready(function() {
        initRequestFormDialog();
    });

</script>

<div id="approval-request-form" title="Select your professor">
<form id="request_form" method="post" action="<?php echo url_for('approval/request?researchid='.$research->id); ?>">
    <fieldset>
        <input type="hidden" id="prof_id" name="prof_id" value="">
        <input type="text" id="prof_name" name="prof_name" class="text ui-widget-content ui-corner-all" readonly/><br/><br/>
        <div id="prof_list">
            
        </div>
    </fieldset>
</form>
    <br/>
    <button id="send_request">Send request</button>
</div>